Home » Developer & Programmer » Reports & Discoverer » using printer tray (report 6i database 9 i windows xp)
using printer tray [message #403841] Tue, 19 May 2009 02:48 Go to next message
hisham99
Messages: 106
Registered: October 2008
Location: united arab emirates
Senior Member
i have a report in A4 i need report to be printed only from tray 1
i m using printer hp laser jet 1320
i used this code (in between page trigger)
srw.set_printer_tray('tray 1')

but if i m not feeding paper in tray 1 it still print from tray 2
Re: using printer tray [message #403846 is a reply to message #403841] Tue, 19 May 2009 03:20 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What are the printer settings? What is the "Paper source" set to? If it is "Automatically Select" (or similar), try to change it to something different.

Did you check tray name? Is it really "tray 1"?

What if you modify it to paper type name (such as "plain" or "color", for example)? Would it do any good?
Re: using printer tray [message #403855 is a reply to message #403841] Tue, 19 May 2009 04:16 Go to previous message
hisham99
Messages: 106
Registered: October 2008
Location: united arab emirates
Senior Member
Paper source is "automatically selected"
tray name is tray 1
if you change the paper type name it give me same result

Previous Topic: Discoverer Report
Next Topic: hide runtime parameter form
Goto Forum:
  


Current Time: Wed Nov 27 03:40:14 CST 2024