<?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 Re: creating print queue from command line using CUPS in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/creating-print-queue-from-command-line-using-cups/m-p/3030321#M5813</link>
    <description>You have the manuals available from the web interface.  Select help at the top of the page.&lt;BR /&gt;&lt;BR /&gt;Here's the section on adding via command line, right from the CUPS manuals:&lt;BR /&gt;&lt;BR /&gt;Run the lpadmin command with the -p option to add a printer to CUPS:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p printer -E -v device -m ppd ENTER&lt;BR /&gt;&lt;BR /&gt;For an HP DeskJet printer connected to the parallel port this would look like:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p DeskJet -E -v parallel:/dev/lp1 -m deskjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;Similarly, an HP LaserJet printer using a JetDirect network interface at IP address 11.22.33.44 would be added with the command:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p LaserJet -E -v socket://11.22.33.44 -m laserjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;As you can see, deskjet.ppd and laserjet.ppd are the PPD files for the HP DeskJet and HP LaserJet drivers included with CUPS. You'll find a complete list of PPD files and the printers they will work with in Appendix C, "Printer Drivers".&lt;BR /&gt;&lt;BR /&gt;For a dot matrix printer connected to the serial port this would might look like:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p DotMatrix -E -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft deskjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;Here you specify the serial port (e.g. S0,S1, d0, d1), baud rate (e.g. 9600, 19200, 38400, 115200, etc.), number of bits, parity, and flow control. If you do not need flow control, delete the "+flow=soft" portion.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jul 2003 05:02:00 GMT</pubDate>
    <dc:creator>Tom Ward_1</dc:creator>
    <dc:date>2003-07-23T05:02:00Z</dc:date>
    <item>
      <title>creating print queue from command line using CUPS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-print-queue-from-command-line-using-cups/m-p/3030320#M5812</link>
      <description>I need to create many print queues with same options. I would like to use command line to create print queue. what would be the command and how do you put different options? thanks</description>
      <pubDate>Tue, 22 Jul 2003 17:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-print-queue-from-command-line-using-cups/m-p/3030320#M5812</guid>
      <dc:creator>TCEQ UNIX</dc:creator>
      <dc:date>2003-07-22T17:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: creating print queue from command line using CUPS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-print-queue-from-command-line-using-cups/m-p/3030321#M5813</link>
      <description>You have the manuals available from the web interface.  Select help at the top of the page.&lt;BR /&gt;&lt;BR /&gt;Here's the section on adding via command line, right from the CUPS manuals:&lt;BR /&gt;&lt;BR /&gt;Run the lpadmin command with the -p option to add a printer to CUPS:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p printer -E -v device -m ppd ENTER&lt;BR /&gt;&lt;BR /&gt;For an HP DeskJet printer connected to the parallel port this would look like:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p DeskJet -E -v parallel:/dev/lp1 -m deskjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;Similarly, an HP LaserJet printer using a JetDirect network interface at IP address 11.22.33.44 would be added with the command:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p LaserJet -E -v socket://11.22.33.44 -m laserjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;As you can see, deskjet.ppd and laserjet.ppd are the PPD files for the HP DeskJet and HP LaserJet drivers included with CUPS. You'll find a complete list of PPD files and the printers they will work with in Appendix C, "Printer Drivers".&lt;BR /&gt;&lt;BR /&gt;For a dot matrix printer connected to the serial port this would might look like:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -p DotMatrix -E -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft deskjet.ppd ENTER&lt;BR /&gt;&lt;BR /&gt;Here you specify the serial port (e.g. S0,S1, d0, d1), baud rate (e.g. 9600, 19200, 38400, 115200, etc.), number of bits, parity, and flow control. If you do not need flow control, delete the "+flow=soft" portion.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2003 05:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-print-queue-from-command-line-using-cups/m-p/3030321#M5813</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2003-07-23T05:02:00Z</dc:date>
    </item>
  </channel>
</rss>

