Unable to set Zebra ZPL Printer as shared on CUPS
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Hello everyone.
I'm trying to share Zebra GK420t over the LAN on Porteus Kiosk 5.4.0, but printer always show up as "not shared" in the CUPS web interface. At this address http://localhost:631/printers/Zebra I get:
Zebra (Idle, Accepting Jobs, Not Shared, Server Default).
i.e. I can print locally to the printer, but the share cannot be accessed, as I said above, the printer says it is always Not Shared.
This is the porteus kiosk config to this machine:
connection=wifi
dhcp=yes
wifi_encryption=wpa
wpa_password=******
ssid_name=*****
proxy=
browser=chrome
homepage=https://***********
hostname=CTPrinter
allow_icmp_protocol=yes
primary_keyboard_layout=pt
allow_popup_windows=yes
printer_connection=direct
printer_model=Zebra ZPL Label Printer
disable_private_mode=yes
right_mouse_click=yes
root_password=**********
shutdown_menu=reboot restart-session shutdown
timezone=Europe/Lisbon
vnc_interactive=yes
vnc_password=*****
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 10-printing.xzm
additional_components=10-printing.xzm
run_command=sed -i 's#/run/cups/cups.sock#172.16.31.142#g' /etc/cups/client.conf
printer_connection=direct
paper_size=Letter
share_printer=yes
printer_name=Zebra
I don't know why this printer would always fail to show up as shared?
Can you help me oh this please?
Cumpz.
I'm trying to share Zebra GK420t over the LAN on Porteus Kiosk 5.4.0, but printer always show up as "not shared" in the CUPS web interface. At this address http://localhost:631/printers/Zebra I get:
Zebra (Idle, Accepting Jobs, Not Shared, Server Default).
i.e. I can print locally to the printer, but the share cannot be accessed, as I said above, the printer says it is always Not Shared.
This is the porteus kiosk config to this machine:
connection=wifi
dhcp=yes
wifi_encryption=wpa
wpa_password=******
ssid_name=*****
proxy=
browser=chrome
homepage=https://***********
hostname=CTPrinter
allow_icmp_protocol=yes
primary_keyboard_layout=pt
allow_popup_windows=yes
printer_connection=direct
printer_model=Zebra ZPL Label Printer
disable_private_mode=yes
right_mouse_click=yes
root_password=**********
shutdown_menu=reboot restart-session shutdown
timezone=Europe/Lisbon
vnc_interactive=yes
vnc_password=*****
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 10-printing.xzm
additional_components=10-printing.xzm
run_command=sed -i 's#/run/cups/cups.sock#172.16.31.142#g' /etc/cups/client.conf
printer_connection=direct
paper_size=Letter
share_printer=yes
printer_name=Zebra
I don't know why this printer would always fail to show up as shared?
Can you help me oh this please?
Cumpz.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
Hello Pedro,
1) This must be a CUPS web interface bug, the printers are shared in your local network.
You may go to http://127.0.0.1:631/admin and you will see this option enabled:
"Share printers connected to this system"
2) You never said from which system you are trying to print to the shared printer.
When connecting other Porteus Kiosk systems to your shared printer please ensure you use following parameters:
I have tested them and they work for sure.
Just update the IP address to match the kiosk's IP which is sharing the printer and printer name (if its different than default).
Thanks
1) This must be a CUPS web interface bug, the printers are shared in your local network.
You may go to http://127.0.0.1:631/admin and you will see this option enabled:
"Share printers connected to this system"
2) You never said from which system you are trying to print to the shared printer.
When connecting other Porteus Kiosk systems to your shared printer please ensure you use following parameters:
Code: Select all
printer_model=Generic IPP Everywhere Printer
printer_connection=ipp://192.168.1.22/printers/kiosk-printer
Just update the IP address to match the kiosk's IP which is sharing the printer and printer name (if its different than default).
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Hi fanthom,
First of all, I'll thank to you for your reply.
Replying to point 2) "You never said from which system you are trying to print to the shared printer." --> I'm trying to print from a web server (Windows server), sending directly to share \\ip\printer, that in this case is \\ip\Zebra.
I will also check what you mentioned in point 1) and then I come to give the feedback.
Thanks in advance.
First of all, I'll thank to you for your reply.
Replying to point 2) "You never said from which system you are trying to print to the shared printer." --> I'm trying to print from a web server (Windows server), sending directly to share \\ip\printer, that in this case is \\ip\Zebra.
I will also check what you mentioned in point 1) and then I come to give the feedback.
Thanks in advance.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Hi again fanthom.
I tried to do what you recommended, but without success unfortunately.
I can never get to share the printer, either through this terminal or from another PC with OS Windows.
Tell me something, if you can...I couldn't find Samba in this Linux packages...Is it not necessary for Linux to have this protocol (Samba) for the source from wich I'm sending the print (Windows server) to be able to communicate with the destination (in this case, this Porteus Linux) where I have the printer shared?
Thanks in advance.
I tried to do what you recommended, but without success unfortunately.
I can never get to share the printer, either through this terminal or from another PC with OS Windows.
Tell me something, if you can...I couldn't find Samba in this Linux packages...Is it not necessary for Linux to have this protocol (Samba) for the source from wich I'm sending the print (Windows server) to be able to communicate with the destination (in this case, this Porteus Linux) where I have the printer shared?
Thanks in advance.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Let me tell you just one more thing.
The only way I was able to print from a PC with Windows was by accessing the cups Admin page and sending a print test page for instance.
But I can never access the share wich is what I want.
The only way I was able to print from a PC with Windows was by accessing the cups Admin page and sending a print test page for instance.
But I can never access the share wich is what I want.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
You can print from Linux to a shared printer which is connected to our system just fine.
The issue which you described is not related to our system. It is your Windows configuration fault.
I'm not a Windows expert so I cannot help you.
Thanks
The issue which you described is not related to our system. It is your Windows configuration fault.
I'm not a Windows expert so I cannot help you.
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
No fanthon.
Unfortunately, I can't print from my Porteus Linux to a shared printer wich is connected and config in CUPS Linux.
Thanks in advance.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
Please provide your kiosk config from the PC from which you want to print to a shared printer.
Thanks
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Hi fanthom.
Let me tell you that the shared printer is precisely on the same PC whose config I leave below:
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 10-printing.xzm
connection=wifi
dhcp=yes
wifi_encryption=wpa
wpa_password=********
ssid_name=**** Guest
proxy=
browser=chrome
homepage=https://*****.*****.com
hostname=CTPrinter
allow_icmp_protocol=yes
primary_keyboard_layout=pt
allow_popup_windows=yes
disable_private_mode=yes
right_mouse_click=yes
root_password=*********
shutdown_menu=reboot restart-session shutdown
timezone=Europe/Lisbon
vnc_interactive=yes
vnc_password=root
printer_model=Zebra ZPL Label Printer
printer_connection=usb://Zebra%20Technologies/ZTC%20GK420t?serial=29J151700963
paper_size=default
share_printer=yes
printer_name=Zebra
Thanks in advance.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
I have a feeling you do not understand the purpose of the 'shared printer' feature ....
Anyway - please use this parameter:
and you should be able to print from this kiosk to your printer.
Thanks
Anyway - please use this parameter:
Code: Select all
printer_connection=direct
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Thanks fanthom.fanthom wrote: ↑21 Sep 2022, 11:02I have a feeling you do not understand the purpose of the 'shared printer' feature ....
Anyway - please use this parameter:and you should be able to print from this kiosk to your printer.Code: Select all
printer_connection=direct
Thanks
The point is simple. Instead of having a network shared printer (in a printserver or in a windows server for instance), I share the printer (wich is connnected via USB to this PC) by the IP of this computer.
I had already tried this parameter, as it is in the first post, but something failed because I always see in it CUPS Admin this detail in the shared printer --> "Zebra (Idle, Accepting Jobs, Not Shared, Server Default)." and I can´t get to the share, either form the PC itself (Porteus Kiosk), or through a Windows PC for instance.
However, I'll redo the config again and include the parameter you suggested and then I'll say something.
Thanks in advance.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
Pedro,
If its not possible to configure Windows to use Linux shared printer using the IPP protocol then perhaps you could do the opposite:
a) attach the printer to a Windows PC and share it using Windows system
b) customize kiosk ISO with samba support and configure it to print to a SMB shared printer
This way all your Windows and kiosk PCs will be able to use the same network printer.
Thanks
If its not possible to configure Windows to use Linux shared printer using the IPP protocol then perhaps you could do the opposite:
a) attach the printer to a Windows PC and share it using Windows system
b) customize kiosk ISO with samba support and configure it to print to a SMB shared printer
This way all your Windows and kiosk PCs will be able to use the same network printer.
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Thanks again fanthom.
But let me ask you one more thing: you're referring Samba, so I assume I can configure the ISO to support that protocol right? I can't find anything in the documentation of Porteus Kiosk Configuration Parameters that indicates any inclusion of Samba modules or protocols.
Can you help me?
Thanks in advance fanthom.
But let me ask you one more thing: you're referring Samba, so I assume I can configure the ISO to support that protocol right? I can't find anything in the documentation of Porteus Kiosk Configuration Parameters that indicates any inclusion of Samba modules or protocols.
Can you help me?
Thanks in advance fanthom.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Unable to set Zebra ZPL Printer as shared on CUPS
You cannot configure the kiosk to enable samba, you need to remaster the ISO and add samba application to it.
I do not help with ISO customization (life is too short to explain everything to everybody - sorry).
If you are interested then you may use a commercial "customized builds" service:
https://porteus-kiosk.org/builds.html
Thanks
I do not help with ISO customization (life is too short to explain everything to everybody - sorry).
If you are interested then you may use a commercial "customized builds" service:
https://porteus-kiosk.org/builds.html
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 9
- Joined: 02 Sep 2022, 08:58
- Distribution: Slackware Linux
Unable to set Zebra ZPL Printer as shared on CUPS
Thanks fanthom.
You already helped me a lot.
You already helped me a lot.