Results 1 to 3 of 3

Thread: [RESOLVED] print Half Size form in Crystal Reports Basic

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Resolved [RESOLVED] print Half Size form in Crystal Reports Basic

    hi all, got a weird problem printing CR Form in .NET 2008

    at the moment my application print two A4 size form (Delivery Order and Invoice) whenever user click a button, in the future the form will be replace into half size of A4...

    i already create new the half size A4 form in Server Properties under Printer and Faxes and using it as Printer Setup form in Crystal Reports basic

    but when user click it, the first form is printed correctly..the second one is start printed 3inch lower than its design..

    when it printed one form at a time, it print correctly..

    any insight?
    Last edited by erickwidya; Apr 20th, 2010 at 01:46 AM.

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Re: print Half Size form in Crystal Reports Basic

    any insight? i'm still stuck with this problem ...

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Re: print Half Size form in Crystal Reports Basic

    i give up using CR.printreport method...

    at the end i exporting it to .rtf file then use this code to print it
    vb Code:
    1. Dim myProcess As New Process()
    2.  
    3. myProcess.StartInfo.FileName = sFileName
    4. myProcess.StartInfo.Verb = "Print"
    5. myProcess.StartInfo.CreateNoWindow = True
    6. myProcess.StartInfo.ErrorDialog = False
    7. myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
    8. myProcess.Start()
    looks ugly but it works

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width