Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 23 Sep 2019, 05:26
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to share a printer in Precise Puppy?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
uxhamby

Joined: 08 Mar 2013
Posts: 14

PostPosted: Wed 01 May 2019, 17:02    Post subject:  How to share a printer in Precise Puppy?
Subject description: printer shared in cups, accessing remotely
 

Hi,

I have an old PIII machine running Precise Puppy V 5.7.1 as a live disc.

I bought a used printer and wanted a temporary machine just to test it out with.

I used CUPS, found the appropriate PPD file for the make and model and set up the printer which apparently works fine. Locally.

Just for fun, I shared the printer in CUPS and tried to access it from another machine on my LAN.

On the remote machine I am running Linux Mint 19. I use the printer setup utility on L/M (which looks like a front end to CUPS to me) and it appears to find the remote printer but my print jobs disappear as complete without actually appearing on paper.

Is there something about sharing a printer in CUPS that I have overlooked? I don't think I have the firewall enabled on Puppy. Is it enabled by default on a live disk installation? Can it be turned off?

Thanks,

Brian H.
Back to top
View user's profile Send private message 
p310don

Joined: 19 May 2009
Posts: 1412
Location: Brisbane, Australia

PostPosted: Wed 01 May 2019, 19:29    Post subject:  

Check the versions of CUPS you have installed.

I believe 5.7.1 had CUPS 1.4.8 installed. After about CUPS 1.5ish they changed the way things are shared, and it isn't easily compatible between old and new CUPS.

How / what were you trying to print?

I recently had a similar issue between old and new Puppies. My new Puppy would not easily find the old Puppy's printer in CUPS. I was pulling my hair out looking for a solution.

After enlisting the help of jamesbond (super duper expert) I discovered that whilst the printers aren't found in CUPS, they were there in Libreoffice...
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5402
Location: King's Lynn, UK.

PostPosted: Wed 01 May 2019, 20:30    Post subject:  

@ Brian:-

If CUPS isn't correctly sharing your attached printer with another machine, a couple of thoughts:-

a) The obvious, I know, but.....you do have the printer driver installed, yes?

b) Be aware that CUPS, unless you specifically select otherwise in the 'Print...' dialogue, tends to default to CUPS-PDF. Thus, you wouldn't get anything sent to the printer.

c) Finally, I agree with Don, above. Older versions of CUPS were much more straight-forward than newer versions. In Xenialpup, for instance, I found that 'sharing' simply would not activate, no matter how much you faffed around with CUPS. I found a solution that works for me. Go here:-

http://www.murga-linux.com/puppy/viewtopic.php?p=455543

.....and take a look at Bill's thread on the p910nd print server. It's extremely straight-forward, and effectively bypasses CUPS altogether. Setting Puppy up for it is a wee bit more involved than CUPS itself, but not by much. You get a GUI that lets you set-up autostarting, turning on/off, etc. And it works very well.

It works fine for me in 571 running on ye anciente Dell lappie - Precise is the best Pup I've found for the old girl, by a country mile. It lets me access the Epson SX218 printer connected to the big Compaq desktop, which is my main system.....and prints without issues.

It's definitely worth a look. The man page gives some more information:-

https://man.cx/p910nd

Let us know if that helps. AFAIK, it should be in the Mint repositories, so ought to be easy enough to install.....though I doubt you'll get a GUI to control it, as it's essentially just a daemon. Bill's GUI covers both server-side and client-side operations, the idea being to install the .pet package on both Pups at either end.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1233
Location: Chatswood, NSW

PostPosted: Mon 27 May 2019, 21:00    Post subject: CUPS config shared by symlink?
Subject description: One computer, one printer, many Pups
 

G'day,

This may apply to Precise Pups, but I'd like to know about virtually all Pups sharing a network printer.

Is it possible to use a symlink of a suitable CUPS config file from a shared data partition to Pups in different partitions on the same computer?
If so, which CUPS config file (or files)?

My situation:
Changing ISPs, we now have a new modem for our LAN on which is a networked wifi-enabled Epson multifunction printer (model WF-2510). It has a static IP address to avoid the hassle of DCHP resets of its address.

I am able to run the scanner on the Epson by sym-linking the new address through the /etc/sane.d/ config files (epson2 (for xsane) and epkowa (for iscan) text files). When I set up a new Pup, I delete the original epson2 config file and replace it with a symlink to the modified config on my data partition. The epkowa file link is added in my all-apps sfs. (Screenshots show an iscan scanner set-up example.)

But CUPS looks more complicated (CUPS directories seem to be everywhere in Puppy) and there are many different CUPS versions across the Pups.
The printers.conf file in /etc/cups/ (screenshot) looks the likely candidate but will this be the same in each Pup CUPS version?

An example of this conf. file text is:

Quote:
# Printer configuration file for CUPS v2.2.8
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter CUPS-PDF>
UUID urn:uuid:9c647468-84a9-3023-6073-0afef1c4cdcb
Info CUPS-PDF
MakeModel Ghostscript
DeviceURI pdf-writer:/export/share/pdf/
State Idle
StateTime 1540196952
ConfigTime 1540159095
Type 8450124
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</DefaultPrinter>
<Printer EPSON_WF-2510_Series>
UUID urn:uuid:ec0cc673-fe94-30f9-619f-9c71a0077005
Info EPSON WF-2510 Series
Location network192.168.0.100
MakeModel Epson WF-2510 Series - epson-inkjet-printer-escpr 1.4.0-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
DeviceURI lpd://192.168.0.200:515/PASSTHRU
State Idle
StateTime 1551740021
ConfigTime 1559001735
Type 4108
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors \#000000,#FFFF00,#FF00FF,#00FFFF
Attribute marker-levels 100,100,100,100
Attribute marker-names Black Ink Cartridge 200XL/200,Yellow Ink Cartridge 200XL/200,Magenta Ink Cartridge 200XL/200,Cyan Ink Cartridge 200XL/200
Attribute marker-types ink-cartridge,ink-cartridge,ink-cartridge,ink-cartridge
Attribute marker-change-time 1551740021
</Printer>


The "uuid" references are a bit of a worry - are they constants in each Pup?

Anyway, has anyone experience or knowledge of using this symlink possibility in CUPS?

Thanks,
David S.
scanner-config-directory.jpg
 Description   /etc/sane.d/ directory has config for scanner address (epkowa version) - epson2.conf edited with net address for xsane package
 Filesize   16.39 KB
 Viewed   92 Time(s)

scanner-config-directory.jpg

text-for-linking-scanner.jpg
 Description   this file sets scanner address in sym-link to every Pup
 Filesize   90.45 KB
 Viewed   92 Time(s)

text-for-linking-scanner.jpg

possible-cups-config-directory.jpg
 Description   the printers.conf file - sharable by links?
 Filesize   25.86 KB
 Viewed   93 Time(s)

possible-cups-config-directory.jpg

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5402
Location: King's Lynn, UK.

PostPosted: Tue 28 May 2019, 07:08    Post subject:  

David:-

Rather than doing all that, why not take a look at Bill's (rcrsn51) p910ND print server (as I mentioned in the above post)?

http://www.murga-linux.com/puppy/viewtopic.php?p=455543

It'll save all that messing about with CUPS.....which is a frickin' nightmare at the best of times!

Just a thought....


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1233
Location: Chatswood, NSW

PostPosted: Tue 28 May 2019, 20:41    Post subject:  

G'day Mike W.,

I looked at the thread for rcrsn51's print server but I read this as requiring the printer to be attached directly to a computer (the server).
Our network Epson printer is connected to our LAN via wifi only.
This seems to rule out rcrsn51's server package?

Our "new & wonderful" cable modem has a usb socket which could maybe be its connection to our LAN but wifi-to-printer has been fine in the recent past with the older adsl modem, and is fine so far with the new modem.

It's just taking time going through all my Pups manually 'modifying the printer' in CUPS to the new IP address for the network printer.

My tests so far have not worked, replacing the original printers.conf file in /etc/cups/ with a sym-link to an edited version of printers.conf that has the new IP address.
In Pups so far, CUPS keeps coming up with the original printers.conf information until I do the 'Modify printer' step in CUPS for the Pup.

If the sym-link idea is actually possible, it may require someone who knows what they are doing - always a hurdle too high for me Shocked .

Thanks anyway for the suggestion,

David S.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1416s ][ Queries: 12 (0.0404s) ][ GZIP on ]