Results 1 to 3 of 3

Thread: form.print landscape?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    Question

    I tried to print out a form using form.print, after the line Printer.Orientation = vbPRORLandscape. It said that the this type of printer could not print this format (when it tried to print). The printer printed this error:

    PCL XL error
    Subsystem: KERNEL
    Error: IllegalTag
    Operator: 0x1b
    Position: 2

    In case this matters, the printer is a brand new HP LaserJet 4000 N. I doubt that's the problem though.

    Any ideas how I could print a form in landscape without errors?

    Sample Code Welcome

  2. #2
    Junior Member
    Join Date
    Nov 2000
    Location
    South Carolina
    Posts
    16

    This code?

    Private Sub Command1_Click()
    Printer.Orientation = 2
    Form1.PrintForm
    End Sub

    This code worked at my place, but we have a LaserJet 2100. Maybe this'll work.
    Jonathan

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    Unhappy I guess it is the printer...

    I got the exact same error as before.

    Thanks for the quick reply though

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