Ray -
You asked:
Quote:What new print specs?
A while ago, on the forum, I was told that commands "were coming out" (or words to that effect) that would tell the printer which tray to use. I assumed that when they were developed, they would be communicated. So ...... I was waiting for them to be developed.
In any event, I tried using the PrintPageTray command and still no luck.
Perhaps you (or Mark) can look at my code and see if I am overlooking something.
AlternateDefaultPrinter("Auto HP LaserJet 5 - Envelopes")
PrintPagePaper(20)
PrintPageTray(5)
Newpage(950,412)
PrintString("Spencer Wulwick (MVR)", 30, 25, 0, "Arial", 14, 0)
PrintString("210 South Hale Avenue", 30, @PageExtentY(), 0, "Arial", 14, 0)
PrintString("Tampa, FL 33609-3933", 30, @PageExtentY(), 0, "Arial", 14, 0)
PrintString(Mail Name, 450, 200, 0, "BArial", 16, 0)
PrintString(Street Address + " " + Apt, 450, @PageExtentY(), 0, "BArial", 16, 0)
PrintString(City + ", " + State + " " + Zip, 450, @PageExtentY(), 0, "BArial", 16, 0)
FinishPage()
I am, by the way, using an HP LaserJet 5M with an envelope feeder that inserts into a slot on the printer.
One variation I tried was in the name of the printer. The windows setup for the printer is just as it is shown in the above code.
The programming guide says to use the name of the "shared printer." So, I made the printer shareable (even though I don't need it set up that way) and assigned the share name ENVELOPES. Even if I change the printer name from AUTO HP LASERJET 5 - ENVELOPES to ENVELOPES, it makes no difference.
I also tried the "auto" setting (7) and neither did that make a difference.
The envelope feeder works perfectly from other programs, such as MS Word, etc.
It would be a great help if I could get this to work so that I can set my default printer back to the way I want it.
Thanks!