Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Connecting printer to SYSPRINTER Post 303044136 by Neo on Saturday 15th of February 2020 12:53:01 AM
Old 02-15-2020
vbe is correct.

Before diving into "answer" the OP needs to inform everyone exactly how the printer is connected to the server.

Serial? Parallel? USB? Network? Hamsters?

What are you using to install the printer? CUPS?

Code:
https://www.cups.org/

What are you using to view the status of the printer(s)?

These are some of the basic questions SergevdH needs to address to start to solve his problem.

See also:

Code:
https://github.com/apple/cups


For example (from above ref);

Code:
SETTING UP PRINTER QUEUES FROM THE COMMAND-LINE

CUPS currently uses PPD (PostScript Printer Description) files that describe printer capabilities and driver programs needed for each printer. The everywhere PPD is used for nearly all modern networks printers sold since about 2009. For example, the following command creates a print queue for a printer at address "11.22.33.44":

lpadmin -p printername -E -v ipp://11.22.33.44/ipp/print -m everywhere

 

7 More Discussions You Might Find Interesting

1. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies

2. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

3. AIX

Connecting to DB

Is it possible to connect to two databases in a single query with different username and passwords? provide an example pls (1 Reply)
Discussion started by: rollthecoin
1 Replies

4. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

5. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

6. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

7. UNIX for Beginners Questions & Answers

Printing, SYSPRINTER, IP printing

Dear readers, We have a printer problem with a UNIX system. The OS is Unix IRIX 6.5 We have connected a printerto the system. If we then make a test print everything goes well . (IP printing) But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies
Net::CUPS(3pm)						User Contributed Perl Documentation					    Net::CUPS(3pm)

NAME
Net::CUPS - Common Unix Printing System Interface SYNOPSIS
use Net::CUPS; my $cups = Net::CUPS->new(); my $printer = $cups->getDestination( "lj4200dn" ); DESCRIPTION
Net::CUPS is an object oriented interface to the Common Unix Printing System. METHODS
getDestination my $printer = $cups->getDestination( $printer_name ); This method takes the name of the printer to acquire. If the printer does not exist it will return nothing. getDestinations my @printers = $cups->getDestinations(); This method will return an array of destinations currently configured on the cups server. getPassword my $password = $cups->getPassword( $prompt ); Method to retrieve the password from the user via the password callback. getPPD my $ppd = $cups->getPPD( $name ); Returns a Net::CUPS::PPD object for the default printer or for the specified printer or class. getPPDMakes my $makes = $cups->getPPDMakes(); Returns an arrary of scalers holding the names of all the makers (e.g. HP or Lexmark) of PPD files installed on the CUPS server getAllPPDs my $ppds = $cups->getAllPPDs(); Returns an array of scalers with the maker and model of all the PPDs installed on the CUPS server getPPDFileName $cups->getPPDFileName($ppd_name_and_make); Returns the file name of the PPD specified by the name and make as found in the array returned by getAllPPDs. The file name is used by addDestination and is relative to where the CUPS server is instructed to look (e.g /usr/share/ppd). getServer my $server_name = $cups->getServer(); A method to return either the hostname or the IP address of the active print server. getUsername my $username = $cups->getUsername(); This method will return the current username associated with the CUPS transaction. requestData my $result = $cups->requestData( $request, $resource, $filename ); Send an IPP request to the server. This function is based off the C CUPS function cupsDoRequest and cupsDoRequestFile. The $filename is optional. setPasswordCB $cups->setPasswordCB( $function ) Method to set the callback function to be used by getPassword. setServer $cups->setServer( $server_ip ); This method will change the current cups server to another hosts. setUsername $cups->setUsername( $username ); A method to change the username associated with CUPS interaction. deleteDestination $cups->deleteDestination( $destination_name ); A method to delete an existing destination addDestination $cups->addDestination( $name, $location, $printer_info, $ppd_name, $device_uri) A method to create a new destination. The $ppd_name variable should be the one returned for that printer by the getPPDFileName method. It will be relative to where the CUPS server is configured to look for PPD files (e.g. /usr/share/ppd). SEE ALSO
Net::CUPS::Destination, Net::CUPS::PPD, Net::CUPS::IPP SUPPORT
Support for this module and other software developed by Dracken Technology, Inc can be found at http://www.dracken.com/. AUTHOR
Dracken Technology, Inc. (http://www.dracken.com/) ACKNOWLEDGEMENTS
Aike Reyer <aike@users.sourceforge.net> supplied the password handling code. Mark Gannon <mark@truenorth.nu> supplied the code for PPD acquisition, destination creation and destination deletion. COPYRIGHT AND LICENSE
Copyright (c) 2003-2005 David Hageman Copyright (c) 2006-2009 Dracken Technology, Inc. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products. perl v5.14.2 2009-07-30 Net::CUPS(3pm)
All times are GMT -4. The time now is 01:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy