Sponsored Content
Full Discussion: Network Printing issue
Operating Systems Solaris Network Printing issue Post 302889598 by Sunil Koya on Friday 21st of February 2014 07:32:20 PM
Old 02-21-2014
Dan,

The code i have posted is a Linux CUPS print system entry. Solaris doen't have CUPS installed

Regards,
Sunil.
 

10 More Discussions You Might Find Interesting

1. IP Networking

network printing

When I send a request to print to a HP4si networked printer, It prints an extra page with User, Host, Class & job info. Is it possible to eliminate this page? (2 Replies)
Discussion started by: sbuck331
2 Replies

2. UNIX for Dummies Questions & Answers

Printing Issue

I have a printing issue I need some help with. I have a printer that will advance a sheet of paper prior to printing a print job. This is not a banner page, it's just a blank page. The O/S is AIX. I know that in SCO and Other Unix's there are printer interface files that more or less tell the... (1 Reply)
Discussion started by: Docboyeee
1 Replies

3. HP-UX

USE of HP-UX default spooler for Network printing.

Hi All, Can anyone inform me; is it possible to use HP-UX (11i) spooler to print in network printer? And is there any limitation on print spooler queue size?? Suppose due to some reason, the printer get halted and you have print jobs in spooler queue, then after printer resume printing... (0 Replies)
Discussion started by: sundeep_mohanty
0 Replies

4. Post Here to Contact Site Administrators and Moderators

Sco Network Printing

I am installing a HP printer using ./hpnpcfg and I am getting the following: Please enter selection: 5 Enter the network peripheral name or IP address: hpndlife The following types of test files can be sent to the printer: 1) text file ... (0 Replies)
Discussion started by: Likando Luywa
0 Replies

5. UNIX for Dummies Questions & Answers

Hp Network Printing

I am installing a HP printer using ./hpnpcfg and I am getting the following: Please enter selection: 5 Enter the network peripheral name or IP address: hpndlife The following types of test files can be sent to the printer: 1) text file ... (0 Replies)
Discussion started by: likando
0 Replies

6. UNIX for Advanced & Expert Users

HP Network Printing

I am installing a HP printer using ./hpnpcfg and I am getting the following: Please enter selection: 5 Enter the network peripheral name or IP address: hpndlife The following types of test files can be sent to the printer: 1) text file ... (1 Reply)
Discussion started by: likando
1 Replies

7. Solaris

Network printing solaris 2.5.1

Hello guys, I'm having a problem at configuring an HP printer for solaris 2.5.1. Unfortunatly solaris did not support network printing until 2.6.x so i had to use jetadmin, wich suprisingly worked well the verry first time i installed the package. Allthough the sparcstation witch i'm using is... (0 Replies)
Discussion started by: Goodfellas
0 Replies

8. UNIX for Advanced & Expert Users

Slow printing to network printers using CUPS

Hi Guys, I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies

9. SCO

Printing to a working network printer using PCL

I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix The printer... (1 Reply)
Discussion started by: ziggy6
1 Replies

10. UNIX for Beginners Questions & Answers

Printing network details

Hi ALL, I am trying to collect and print all the network interface details in linux shell script. operating system : centos 7 Below is my shell script : #!/usr/bin/env bash for i in $(ip link show | awk -F: '$1>0 {print $2}') do if ; then echo -e... (2 Replies)
Discussion started by: balu1234
2 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 04:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy