[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference kernel::unix_printing

Title:Printing from UNIX
Moderator:KERNEL::COFFEYJ
Created:Thu Dec 17 1992
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:956
Total number of notes:2876

902.0. "la600 Tray Selection" by NETRIX::"Camilotte@16.199.32.116" (Eric Camilotte) Tue Jan 28 1997 19:48

	Is there a way to select trays on a la600, DecAnsi mode,
without any personality module, on Ultrix and Digital Unix  ??

	I have consulted nearly all the notes connected to printing
but have not found a clear answer to this question.

	Thanks in advance

	Eric
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
902.1Do you mean without writing any code?SMURF::LABONTEWed Jan 29 1997 17:500
902.2writing any code ??NETRIX::"camilotte@16.199.32.116"eric camilotteThu Jan 30 1997 15:0417
	I'm not sure to understand the question... if you think about
"personality module", I mean "firmware" complementary modules that
customer can buy for the la600.

	So the customer that need to select the trays on the la600's
have not acquired these modules.

	I there is some code (not to extensive) to have the tray
selection work, I can write it if I have the specs, but I think
it may be more a "printcap/filter" stuff to send the correct 
escape sequences, if the "basic" la600 accept it.

	Any input will be appreciated.

	Eric Camilotte
	Pre-sales support 
[Posted by WWW Notes gateway]
902.3SMURF::LABONTEThu Jan 30 1997 17:078
I would expect that firmware to select the printer tray options are already
built in. The best place to ask if a firmware update is required for tray
selection is in the ontime::ansi_printing note conference.

Firmware update or not you still can't select the trays from the lpr
command without a supporting print filter. Since the printer uses the DEC
ANSI printer protocol I would expect the command sequence to select the
tray would be <esc>[#!v where # is the tray number.
902.4More infos neededNETRIX::&quot;Camilotte@16.199.32.116&quot;Eric CamilotteFri Jan 31 1997 12:1233
	Thanks for inputs.

	I am aware of the Unofficial Digital Unix printing web page,
	ftp://vorpal.zk3.dec.com/html/print.html

	It looks great, but it gives to me as many questions than
	answers.

	1 - What is the relation between DECprinter filter / PCFOF filter /
  	    and PCF files ?

	2 - What files have I to customize to implement the escape sequence
	    for selecting the tray.

	    Do I have to create one printcap entry for each tray selected,
            (with what printcap variable ?), giving a different lpr name
	    for each tray selection ?
	    In this case, what happen if I issue print commands at the same
	    time on the same printer but with different tray selected ?

	    Or, does the files mentionned in 1. help me to do this (by a
	    parameter passing mechanism ?). In this case, how
	    do I pass the parameter through lpr ?

	    Or another way ?

	    3 - Is this the same thing with Ultrix (the customer have the 
	        two kinds of OS).

	    Thanks again,

	    Eric
[Posted by WWW Notes gateway]
902.5SMURF::LABONTEFri Jan 31 1997 18:2646
>       1 - What is the relation between DECprinter filter / PCFOF filter /
>           and PCF files ?

The PCFOF filter is an updated version of the DECprinter filter. Some
of the field names were changed, and the default directory location of the
pcf files was chaned.

>       2 - What files have I to customize to implement the escape sequence
>           for selecting the tray.
>

Start with the la600.pcf file.

>           Do I have to create one printcap entry for each tray selected,
>           (with what printcap variable ?), giving a different lpr name
>           for each tray selection ?
>           In this case, what happen if I issue print commands at the same
>           time on the same printer but with different tray selected ?
>           Or, does the files mentioned in 1. help me to do this (by a
>           parameter passing mechanism ?). In this case, how
>           do I pass the parameter through lpr ?

No. By editing the PCF file you can create the tray names for the printer.
The names you create can then be used by the lpr -I command.

>           3 - Is this the same thing with Ultrix (the customer have the
>               two kinds of OS).

The PCFOF fitler and the DECprinter filter for Digital UNIX got its roots
from the DECprinter filter on ULTRIX so the concepts are the same. The PCF
files for ULTRIX and Digital UNIX are not 100% compatible.
---

Start with getting the la600.pcf file. After `input tray default:'
add the following:

input tray front:\033[1!v
input tray middle:\033[2!v
input tray back:\033[3!v

I don't know how the escapes map to the printer but this would be a start.
The names front, middle, and back are names I created. If you don't like
the names change it. Since a version la600.pcf file is planned to be
released in a future version of Digital UNIX don't use the name la600.pcf.
If you do, when the system is updated the file will be replaced with the
one on the kit and you will lose your changes.
902.6Is it possible to print with Unix ??NETRIX::&quot;Camilotte@16.199.32.198&quot;Eric CamilotteMon Feb 03 1997 12:1320
	Thanks for inputs.

	I have now to make trials.

	What subsets do I have to install ?? (with setld I presume ) on D.Unix 
	and Ultrix, to get the la600.pcf file.
	I found .pcf.Z files on /usr/lib/X11/fonts/misc/... (OSFMITFONT405), so
	I suppose .pcf files are somewhat generic... (is it DEC stuff ??)
 
 	If I understand well, PCSOF is an extension of the traditionnal output
	filter in Unix (the "of" field in printcap).

	Does the pcf extension stand for PrintCapFile ??

	Thanks again,

	Eric

	Pre-Sales Support
[Posted by WWW Notes gateway]
902.7SMURF::LABONTEMon Feb 03 1997 17:5712
PCF = Printer Control File

All the files for Digital UNIX are located at:

	ftp://vorpal.zk3.dec.com/html/print.html

I haven't looked at ULTRIX for some time. I expect the basic DECprinter filter
and PCF files are still in the UDTPRINT440 print subset. I no longer create
PCF files for ULTRIX. So, you will need to create it.

Ernie