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

RE: Re:[sqr-users] Duplex Printing



I don't know if this helps.  We generate postscript files.  Below is a sample 
of code to set duplex and a specific tray.

begin-procedure check_page_setup
  print-direct printer=ps 'restore end'         !Pop the PS stack
  print-direct printer=ps 'statusdict begin'    !Begin the new commands
  print-direct printer=ps 'true setduplexmode'  !set to duplex
  !Change to tray three.
  print-direct printer=ps '1 setpapertray'
  print-direct printer=ps 'end'                 !End the new command
  print-direct printer=ps 'sqdict begin save'   !Save the PS stack 
end-procedure

Jennifer

-----Original Message-----
From: sqr-users-bounces+jennifer.torres=colostate-pueblo.edu@sqrug.org 
[mailto:sqr-users-bounces+jennifer.torres=colostate-pueblo.edu@sqrug.org] On 
Behalf Of franck.masson
Sent: Thursday, April 16, 2009 1:15 PM
To: This list is for discussion about the SQR database reporting language from 
Hyperion Solutions.
Subject: Re:[sqr-users] Duplex Printing

what is your Printer ?
postcript ?
or HP ?
if HP you have to use esc command with print-direct command 
if PS you have to use the postscript command with the print-direct command 
these esc command or ps command can be found in your printer 
manual/documentation 
 
franck,



> Message du 16/04/09 12:15
> De : matthew.olliver@arvato-systems.co.uk
> A : sqr-users@sqrug.org
> Copie à : 
> Objet : [sqr-users] Duplex Printing
>
> 
> I have a document which needs altering; it currently prints simplex with
> one invoice on each page. Our customer now requires it to have the terms
> and conditions on the back of every page. 
> 
> What is the quickest and easiest way to do this? 
> Is it esc codes? 
> Or 
> Is it easier to do something each time NEW-PAGE is called.
> 
> Regards
> Matthew Olliver
> 
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
> 
> 

 Créez votre adresse électronique prenom.nom@laposte.net 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users