<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Printing a PDF file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429131#M65706</link>
    <description>I am trying to create a printer overlay macro for a form.  I can make it work with a very simple document.  I setup a VMS form to send the escape sequence to the printer to select macro 1.&lt;BR /&gt;&lt;BR /&gt;I was able to get a copy of the document in PDF format.  But when I try to print it from VMS it seems to drop some characters.  For the most part it prints ok.  I've tried on a PC to create a PDF file of the escape sequences but that didn't work.&lt;BR /&gt;&lt;BR /&gt;I want to get the document stored in the printer so our application can call it and print the data to go on the document.&lt;BR /&gt;&lt;BR /&gt;Any sugguestions?  I'm not sure why the PDF document wouldn't print, I zipped it on the PC&lt;BR /&gt;and FTP'ed it.</description>
    <pubDate>Tue, 23 Nov 2004 16:21:17 GMT</pubDate>
    <dc:creator>Shael Richmond</dc:creator>
    <dc:date>2004-11-23T16:21:17Z</dc:date>
    <item>
      <title>Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429131#M65706</link>
      <description>I am trying to create a printer overlay macro for a form.  I can make it work with a very simple document.  I setup a VMS form to send the escape sequence to the printer to select macro 1.&lt;BR /&gt;&lt;BR /&gt;I was able to get a copy of the document in PDF format.  But when I try to print it from VMS it seems to drop some characters.  For the most part it prints ok.  I've tried on a PC to create a PDF file of the escape sequences but that didn't work.&lt;BR /&gt;&lt;BR /&gt;I want to get the document stored in the printer so our application can call it and print the data to go on the document.&lt;BR /&gt;&lt;BR /&gt;Any sugguestions?  I'm not sure why the PDF document wouldn't print, I zipped it on the PC&lt;BR /&gt;and FTP'ed it.</description>
      <pubDate>Tue, 23 Nov 2004 16:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429131#M65706</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-11-23T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429132#M65707</link>
      <description>Shael,&lt;BR /&gt;&lt;BR /&gt;PDF contents are binary. So try to print the PDF with the /PASSALL qualifier. This instructs the printer symbiont to bypass formatting which can eat or add characters.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 23 Nov 2004 16:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429132#M65707</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-11-23T16:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429133#M65708</link>
      <description>I tried /passall and it actually makes it worse.  The file I'm printing is the PDF output file.</description>
      <pubDate>Tue, 23 Nov 2004 17:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429133#M65708</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-11-23T17:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429134#M65709</link>
      <description>Shael,&lt;BR /&gt;&lt;BR /&gt;What type of printer?  I am not aware of any&lt;BR /&gt;printers that can accept a PDF file and render&lt;BR /&gt;it successfully.  You need to convert the PDF&lt;BR /&gt;into something the printer can understand.&lt;BR /&gt;If the printer can handle postscript then you&lt;BR /&gt;may want to use XPDF or Ghostview to convert&lt;BR /&gt;the PDF into postscript then print that.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Nov 2004 18:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429134#M65709</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-11-23T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429135#M65710</link>
      <description>Convert it or more simple, print it after you opened the pdf in M$ explorer.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 24 Nov 2004 03:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429135#M65710</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-11-24T03:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429136#M65711</link>
      <description>I called in up in Acrobat Reader and printed it to a file.  Then I ftp'ed the file to the VMS system to print.&lt;BR /&gt;&lt;BR /&gt;It's a HP Laserjet printer w/o PS.</description>
      <pubDate>Wed, 24 Nov 2004 10:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429136#M65711</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-11-24T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429137#M65712</link>
      <description>Shael,&lt;BR /&gt;&lt;BR /&gt;This means that you are printing a file which contains escape sequences for the printer. In this case you need to add the /passall qualifier.&lt;BR /&gt;Have you transfered the file using the binary ftp mode?&lt;BR /&gt;The second thing is which protocol do you use to access the printer server? If you use a telnet symbiont or a TNA telnet device, the printer server must be able to understand telnet protocol. In case of the telnet symbiont you can define the TCPIP$TELNETSYM_RAW_TCP logical name to suppress the telnet protocol and use a raw socket.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 24 Nov 2004 11:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429137#M65712</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-11-24T11:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429138#M65713</link>
      <description>I tried the /passall and it makes it worse!&lt;BR /&gt;&lt;BR /&gt;I did FTP with binary mode.&lt;BR /&gt;&lt;BR /&gt;TCPIP$TELNETSYM_RAW_TCP is set to 1.&lt;BR /&gt;&lt;BR /&gt;The printer queue is a Telnet symbiont queue.</description>
      <pubDate>Wed, 24 Nov 2004 12:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429138#M65713</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-11-24T12:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429139#M65714</link>
      <description>Hi Shael,&lt;BR /&gt;&lt;BR /&gt;FTP the file with ascii mode and then try printing. Is it possible for you to create DCPS or LPD queue and try from that. &lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Thu, 25 Nov 2004 04:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429139#M65714</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-11-25T04:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a PDF file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429140#M65715</link>
      <description>Shael,&lt;BR /&gt;&lt;BR /&gt;Can you specify which characters are droped? Are they at the end of the document, on one side, maybe some specific characters or totaly random.&lt;BR /&gt;&lt;BR /&gt;One of methods to find what happens is to set the printer in hexdump mode and then try to print to it from a PC and from VMS. Then you compare the two dumps and/or the dump of the printed document. So you can find which characters are dropped or added.&lt;BR /&gt;This is an offul work, maybe creating a temporary "printer" on yours alpha will be easyer.&lt;BR /&gt;Create a simple command prcedure:&lt;BR /&gt;&lt;BR /&gt;$ COPY SYS$NET fullpath:PRINTER.DUMP&lt;BR /&gt;&lt;BR /&gt;Now create a temporary service in TCPIP:&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; SET SERVICE myprinter /PORT=9100 -&lt;BR /&gt;/USER=username/PROC=PRINTER -&lt;BR /&gt;/FILE=fullpathtoprocedure&lt;BR /&gt;TCPIP&amp;gt; ENABLE SERVICE myprinter&lt;BR /&gt;&lt;BR /&gt;(replace username and fullpathtoprocedure with proper values)&lt;BR /&gt;Now you can create a queue (just like that you using to the real printer) and set it /ON="yoursip:9100".&lt;BR /&gt;&lt;BR /&gt;After the print command, the printed file will be "copyed" in the fullpath:PRINTER.DUMP&lt;BR /&gt; file. You can also setup a PC printer to print to this "printer". The created file will not be properly ended (and there you will have some errors in the log file) but probably it will be easyer to compare the files rather than hex printouts.&lt;BR /&gt;&lt;BR /&gt;To delete the "printer" first delete the queue and then:&lt;BR /&gt;TCPIP&amp;gt; DISABLE SERVICE myprinter&lt;BR /&gt;TCPIP&amp;gt; SET NOSERVICE myprinter&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Thu, 25 Nov 2004 11:59:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-a-pdf-file/m-p/3429140#M65715</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-11-25T11:59:59Z</dc:date>
    </item>
  </channel>
</rss>

