[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: How to control printing ?



Hi,

1) I do not see in your code the Posrtcript command to choose the bin 3.

2) The ^[&l3A look like a pcl command.
Check your sqr code where this print is done and replace it by the
appropiate postcript command.

Franck,
Jamadagni, Rajendra -ND wrote:
>
> Hi all,
>
> This is my first ever posting, so please pardon if this email style is
> different .... I am using  SQR/4.3/DG AViiON (Intel)/DGUX R4.20MU02/Oracle
> 7.3.3/Jun 16 1998 on DG AviiON machine, currently running against Oracle
> 7.3.4 database.
>
> I am writing a report for POSTSCRIPT printer on LEGAL paper in PORTRAIT
> mode. This is how my declare-layout looks like ...
>
> declare-layout deflt
>    paper-size=(8.5,14)    !legal
>    orientation=portrait
>    formfeed=yes
>    left-margin=0.2 in
>    max-columns=160
>    top-margin=0.5 in
>    bottom-margin=0.5 in
> end-declare
> declare-printer deflt   ! Declare printer characteristics.
>    type=PS   ! Types are POSTSCRIPT, HPLASERJET, or LINEPRINTER
>    font=3      ! Font number.
>    point-size=6
>    pitch=16
> end-declare
>
> Everything works fine, until it is time to print ..... I am even forcing
> LEGAL paper code which generates "1 1 go (^[&l3A) sh" in the output file. We
> are using various HP printers most common being HP5SiMX. When a print is
> fired (from Unix), some times it starts printing on LETTER paper even though
> LEGAL paper is available in Bin 3. On the same printer a test MS Word
> document prints just fine on LEGAL paper. I can't figure if it is a printer
> or postscript problem.
>
> So, the question: Is it possible to force the printer to pick legal paper
> (it is guaranteed to be available)? I may be able to switch to printer type
> HP if this is possible in HP mode. If this is doable, how should I do it?
>
> Thanks in advance
> Cheers
> Raj
> ----------------------------------------------------------------------------
> -------------
> Rajendra Jamadagni                      MIS, ESPN Inc.
> mailto:Rajendra.Jamadagni@espn.com (Work) 860 766 3728
> QOTD: Any clod can have facts, but having an opinion is an art !
> Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.