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

Conference 7.286::postscript_printing

Title:Digital PostScript printers and their associated software
Moderator:REGENT::LASKOHER
Created:Wed Jan 24 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:7230
Total number of notes:31971

7133.0. "LNC01, How to select the MP tray via VMS/UCX??" by HLFS00::LINNENBANK_J () Thu Mar 27 1997 10:06

    Hello printer friends,
    
    Does anybody know how to select/print from the PM tray via VMS/UCX?
    A customer wants to print transparencies from the MP tray.
    I tried print/que/para=input_tray=xxxx without luck.
    The customer wants to print to the LSR2000 via TCP/IP from VMS.
    
    regards,
    Jan Linnenbank
    Printer specialist
    Holland
                                                                   
T.RTitleUserPersonal
Name
DateLines
7133.1Have you setup the queue on OpenVMS ?HANNAH::KAMATHThu Mar 27 1997 12:059
    Jan,
    
    	Have you setup the queue on OpenVMS ?  If so what is
    	the symbiont used ?
    
    	Do you have a PS file or are you trying print from an
    	OpenVMS based application that generates PS code.
    
    -Harish Kamath.
7133.2thanks for your quick replyHLFS00::LINNENBANK_JFri Mar 28 1997 07:4414
    Hello Harish,
    
    Thanks for your quick reply.
    
    We setup the que on OpenVMS with ucx$lprsetup.
    The symbiont we use is lpd.
    
    The customer has postscriptfiles in his directory, so we tried the next
    command:
    
    print/queue="quename"/para=input_tray=xxx  filename.ps
    
    regards,
    Jan Linnenbank
7133.3no functionEVTAI1::LEREUILFri Mar 28 1997 08:338
    
    Hi you cannot use LPD symbiont for this functionality it's the
    same thing for more functionalities ie :layup, tumble... with LPD
    but with the next DCPS release 1.4 , you can declared the LNC01	
    with DCPS .
    
    Hope this help
    gerard-louis lereuil
7133.4DCPS V1.4 won't helpFUNYET::ANDERSONDIGITAL. Whatever.Fri Mar 28 1997 11:4014
It is correct that the qualifier /PARAMETERS=INPUT_TRAY is used by DCPS and not
by the TCP/IP LPD symbiont.

However, DCPS V1.4 is not able to speak to the Colorwriter LSR 2000+ printer. 
This is because the TCP/IP stack on the printer's network card is not
bidirectional.

So, from OpenVMS, the only ways to print to this printer, now and in the future,
are:

  � DCPS via AppleTalk
  � LPR/LPD via TCP/IP

Paul
7133.5one way to select the MPtrayHLFS00::LINNENBANK_JTue May 13 1997 06:54110
Hello printer friends,

Below you find a way to select the MP tray via VMS/UCX.

With special thanks to HENK BARK,  Postscript specialist, the Netherlands.

This only works with postscript files but it is also possible to
send text files to the LSR2000, somewhere between the print command
and the paper a translation takes place to postscript, does anybody know
where this translation takes place?

We also want to select the MPtray when printing text files to the printer

Does anybody know the escape code to select the MPtray? We tried a few but
all failed.

Is there a table or manual available with these codes?


regards,
Jan Linnenbank
Printer Specilist
Holland


How to select the multipurpose Tray via VMS/UCX.
************************************************

1) create a LPD queue with  sys$system:ucx$lprsetup

    For an example script see page 5-12 (getting started manual)

    The queue should look like this:
    
    (show queue/full lnc01)

    Server queue LNC01, idle, on AL::, mounted form DEFAULT
      /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /OWNER=[SYSTEM] 
      /PROCESSOR=UCX$LPD_SMB /PROTECTION=(S:E,O:D,G:R,W:W)

    The printcap file should look like this:

    (type sys$specific:[ucx_lpd]ucx$printcap.dat)

    #
    # test queue colorwriter LSR2000, Jan Linnenbank.
    LNC01|lnc01:\
       	:lf=/SYS$SPECIFIC/UCX_LPD/LNC01.LOG:\
	:lp=LNC01:\
	:rm=lnc01:\
	:rp=xjprint:\
	:sd=/SYS$SPECIFIC/UCX_LPD/LNC01:

    #

2)  Create a setup module and put it into the library

    Edit the next two lines into a postscript file and don't forget
    the <CR> at the and of each line, otherwise it won't work
    (edit mpselect.ps)

    %!ps
    1 dict dup /ManualFeed true put setpagedevice

    Put the file into a postscript library  (example: post.tlb)
    
    lib/repl sys$library:post.tlb mpselect.ps

3)  Create a form to select a setup module

    define/form/length=66/width=80/truncate/stock=default -
     /setup=mpselect transp 1100
         
    (pick a number which not already exist.    type : show queue/form)

4)  Create a relay queue using the TELNET symbiont which wil point to the
    LPD queue

    init/queue/on="UCX$QUEUE:LNC01"/process=UCX$TELNETSYM/device=printer -
     /form=transp/default=(form=transp) RELAY1

    The RELAY queue should look like this:

    (show queue/full relay1)

    Printer queue RELAY1, idle, on AL::"UCX$QUEUE:LNC01", mounted form TRANSP 
       (stock=DEFAULT)
       /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=TRANSP (STOCK=DEFAULT)) 
       /LIBRARY=PS_LIB /OWNER=[SYSTEM] /PROCESSOR=UCX$TELNETSYM 
       /PROTECTION=(S:E,O:D,G:R,W:W)


5)  To print to the LSR2000 using the MPtray type:

    print/queue=relay1 testfile.ps

    or when using the default form settings 
           (mounted form default / default=(feed,form=default (stock=default))
    type:
    
    print/queue=relay1/form=transp testfile.ps


below you find a simple postscript testfile

%!ps
/Times-Roman findfont 25 scalefont setfont
200 800 moveto
(This is a test print)show
showpage
7133.6REGENT::LASKOTim - Printing Systems BusinessMon May 19 1997 15:5710
    If I remember the module loading order correctly, the SETUP module
    wouldn't work if the ANSI Text Translator is also specified--I assume
    you've tried this and it doesn't work.
    
    Because the 'LSR 2000 manual feed tray is primarily intended for
    transparencies, I'm curious why you would need to print text files to
    the manual feed tray. The ANSI Text Translator does not support color
    text or Sixel graphics.
    
    The escape sequence is: <ESC>[99!v
7133.7SANITY::LEMONSAnd we thank you for your support.Wed May 21 1997 12:4814
    Hi
    
    I have users lusting after the INPUT_TRAY, PAGE_ORIENTATION and
    NUMBER_UP functionality on LSR2000+ printers.  We can not use DCPS, as
    we will not use AppleTalk at our site.  So, I'm trying to get this
    functionality in another way.
    
    Since the LSR2000 is a PostScript printer, can device control library
    entries ride to the rescue and provide this functionality?  If so, how
    should I got about this?  .5 provides great instructions for the
    INPUT_TRAY; how about the other two (PAGE_ORIENTATION and NUMBER_UP)?
    
    Thanks!
    tl
7133.8could be doneREGENT::LASKOTim - Printing Systems BusinessWed May 21 1997 15:429
    Getting all the combinations of PAGE_ORIENTATION and NUMBER_UP would be
    possible but tedious. There are code snippets lying around that will do
    this kind of impositioning. However, a device control library module
    could only select one of the combinations at a time, e.g.
    TWO_UP_LANDSCAPE, TWO_UP_PORTRAIT, FOUR_UP_LANDSCAPE, etc. 
    
    [We remember that PAGE_ORIENTATION alone doesn't work with PostScript
    files, right? It doesn't seem like there's much call for printing
    monochrome text in landscape on a Colorwriter.]
7133.10I'm just curious tooHLFS00::LINNENBANK_JThu May 22 1997 10:0443
    Hello Tim,
    
    Thanks for your reply,
     
   
>    If I remember the module loading order correctly, the SETUP module
>    wouldn't work if the ANSI Text Translator is also specified--I assume
>    you've tried this and it doesn't work.
 
    
    How do you select the ANSI translator?
    print/queue=*****/para=data=ansi doesn't work with the TELNET or LPD
    daemon.
    
    We tried to send a textfile with the postscript setup module but it
    failt with offending command.  (we can't mix postscript with ansi, as
    far as I know file sniffing doesn't work with these daemons)
       
>    Because the 'LSR 2000 manual feed tray is primarily intended for
>    transparencies, I'm curious why you would need to print text files to
>    the manual feed tray. The ANSI Text Translator does not support color
>    text or Sixel graphics.
    
I'm just curious too, we can print text files to the LSR2000, so I'm
    curious which escape code is needed to select the MPtray.
    
>    The escape sequence is: <ESC>[99!v

    I tried this code but without luck, When sending a textfile to the printer
    with this code <ESC> isn't printed but [99!v is.
    I also tried 0,1,2 and 3 instead of 99 without luck.
    
    Somewhere ANSI is translated to postscript, I like to know where the
    translation takes place and what part initiates the translation?
    is it the TELNET or LPD daemon or is it the printer itself?
    Is there a manual what discribes this sequence?
    
    regards,
    Jan linnenbank
    printer specialist                
    Holland
    
     
7133.11ASCII-to-PostScriptFUNYET::ANDERSONOpenVMS pays the billsThu May 22 1997 13:294
The printer has an ASCII-to-PostScript converter.  This is why the <ESC> is
being ignored and the rest of the escape sequence printed.

Paul
7133.12REGENT::LASKOTim - Printing Systems BusinessThu May 22 1997 14:1510
    I apologize--I confused UCX and DCPS twice in this string. 
    
    As Paul pointed out in the previous reply, the Colorwriter LSR 2000 has
    a built in ASCII (text only) translator. That is how customers can
    print text to the Colorwriter over TCP/IP. I misspoke in .6: the
    Colorwriter printer text translator does not support any escape
    sequences.
    
    What I wrote in .8 still stands, if you ignore the implication that you
    could get a text translator.