Getting started with SavaPage: questions and answers

Hi @Dominik,

Implementing extra API services is done by Development Partners. In this case I would be the developer.

I suggest discussing the details and timing of your requirement in a separate channel and then reporting conclusions in response to this post. Could you please email me at support@savapage.org ?

P.S. Organizations who intend to use SavaPage in a commercial/educational production environment are invited to join as Community Resident by subscribing to the software.

About Mail Print …
How it suppose to work? … How i select target printer … how often savapage check mails

Hi @savanon , welcome to SavaPage!

Mail Print prints to SavaPage, not to a physical (target) printer. Read the What is SavaPage introduction to get an idea about the print work-flow. SavaPage listens for incoming mail continuously, so there is minimal latency between sending the email and processing it. Once the mail printed document is visible in the User Web App you can Select a Printer to print it to.

Ok, thanks for quick answer.
Actually I’m looking for a solution where users just go to webpage, select printer and Drag’nDrop the document to the page and that’s it. So no logins or anything “extra”, we don’t need that stuff.
I thought that maybe I can do that with a little modified savapage, but maybe not.

regards H

@savanon This sounds like an anonymous, no-threshold, no-privacy, no-cost, no-audit print scenario :slight_smile: I’m not sure if SavaPage can be of help here. If you want to share more details about your requirements, please do so by sending an email to support@savapage.org .

Hi

Savapge helped me to figure out things with file conversions. Now we are making a PHP-page which will do the job. So thanks a lot :slight_smile:

Hi,
I’ve got a problem with logging to WebApp, I’ve set up Users from AD, they got synchronized without any problems. When I try to log in, I’ve got a warning User WebApp Login: password from “username” is invalid.
Any help would be much appreciated.

BR
Mark

Hi @mvd , Welcome!
Are you absolutely sure that “username” is part of the Users list in the Admin Web App? Mind you, the Active Directory username is converted to lowercase when synchronized with the SavaPage database. Is there another username you can successfully login with? If so, can you spot the difference in AD?

Hi @rijkr, thank you, glad to be here. Unfortunately I can’t log in with any of users, as I understand username is sAMAccountName and when I go to user section->information-> it’s in the bold on top of the card and it’s the right AD username.

@mvd The first step for user authentication is retrieving the user by “username”. Since you were able to synchronize Active Directory users with SavaPage I assume this step succeeds. To be sure, check for messages in /opt/savapage/server/logs/server.log

If the user is found, the next step is to create an LDAP context with the following Security properties:

  • Principal : user DN as retrieved in the first step.
  • Level : “simple”.
  • Credentials: clear-text password.

If creation of this context succeeds the user is considered “authenticated”. If not, the username/password combination is considered invalid.

Because you are not able to authenticate any user, it could be that your AD does not support a “simple” security level. Alternatives are “none” and “strong”, but both are not supported by SavaPage right now. A “strong” security level will probably involve more advanced Credentials. Please let me know if your AD imposes specific requirements in that regard.

@rijkr as it comes to AD when I tick “Use SSL” and use Port 636 I get
test] Starting user synchronization…
[test] User synchronization error: simple bind failed: 10.10.160.151:636 [PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target].
without SSL it synchronize fine. I did some test with LDAP Browser and I can connect to LDAP with SSL/636 without a hassle.

@mvd Could it be that your AD uses a self-signed certificate? In that case you need to tick the “Trust Self-Signed Certificate” checkbox in the User Source - LDAP section.

First, I’d like to say SavaPage is simply AMAZING. I’m blown away by this project and the capabilities it comes with out of the box.

I was able to set it up relatively easily. My Macs and Windows machines also automatically detect SavaPage as a printer on the network. I am able to print to it, and I can see the thumbnails of my print jobs in the web interface.

I am also able to see all my HP printers on the network if I SSH to the SavaPage machine, and use the “avahi-browse” command line tool.

The part I’m not clear about is how to add those printers to SavaPage and expose them to users. When I go to Proxy Printers that page is empty and there’s nothing in there that shows how to add network printers. I checked the manual time and time again, maybe I missed something, but I just can’t find a chapter that explains how to make SavaPage talk to a physical printer.

Eventually once I get that part sorted, my plan is to put printers in a separate VLAN based on their MAC address, and force all printing to happen exclusively through SavaPage. I also plan to integrate it with KeyClock.

Thanks in advance for any help offered, and again, many thanks for this amazing project!

Hi @aric , thanks for sharing your enthusiasm. Welcome to SavaPage!

Proxy Printers are picked up from CUPS. Note that printers that advertise themselves via DNS-SD / Bonjour / Zeroconf (like your HP printers) are not automatically part of CUPS. You can easily check: printer devices that show up with the lpinfo -v command do not show up as printer with the lpstat -v command.

Add your DNS-SD printers in CUPS by selecting them there from the list of “Discovered Network Printers”. Make sure to select a Model that uses CUPS filtering and is compatible with your printer. Do not select an IPP Everywhere variant as Model, as this will give you an unusable “Local Raw Printer” throughput without filtering and print job options, which is unusable for SavaPage.

After you add/delete/modify CUPS printers you need to sync them with SavaPage: simply push the Synchronize button at the top of the Proxy Printers list of the Admin Web App.

Now that your CUPS printers are visible in SavaPage as Proxy Printer, you must first configure their Media Sources and Costs before they can be selected for print jobs.

There is another issue you need to be aware of. SavaPage is standardized on IANA Registered IPP Attributes and uses the CUPS IPP interface to retrieve printer capabilities. Since vendor specific PPD option keywords are generally not mapped to IPP attributes by CUPS, make sure that each vendor specific PPD option is mapped to its IPP counterpart. You can read all about this in the User Manual PPD Extensions Appendix. Please consult and reply to this post if you have any questions about PPDE files.

Indeed, placing your DNS-SD printers in a VLAN, which only the SavaPage server can access, prevents these printers from advertising themselves on user devices. This forces all users to use DNS-SD printers only from the SavaPage User Web app.

1 Like

Hi @rijkr ,

I was trying to setup Savapage on a VM for testing. During working through the Savapage manual I successfully added my printer (Canon Pixma MG5750, WiFi) in CUPS. I could also print a test page from CUPS. I see my printer in the proxy printer list in Savapage but with the warning “Configuration needed”. Just as you suggested crege2 I tried to configure at least one media source but I’m not able to do that.

In the manual, Figure 4.59, I should see some media source options like “A4 – yellow”, “A4 – white” etc. but I don’t see those options and I can’t find a way to add a media source. What am I doing wrong? Can you help me?

I tested Savapage in a virtual machine, bridged to my local LAN. Tried on Ubuntu Bionic and Focal Fossa.

Hi @remco011 , welcome! It looks like the “media-source” (paper trays) of your printer is not recognized by default. Please take a look at (and reply to) How to solve unrecognized Proxy Printer capabilities .

1 Like

Thank you. That worked beautifully, and I’m able to print nicely! I wish this was in the manual, I couldn’t find something as simple and concise in the manual the way you explained it here. You should consider pasting this response into the manual :slight_smile:

Some of my users are wondering if they can be assigned a default printer, so they don’t have to go to their printer portal to print their jobs (they want prints to happen automatically).

Is this an available feature?

Hi I have installed savapage in my server for monitoring my printer Lexmark Mx310 series and Lexmark CX921de series as i am giving print from windows pc i am getting the following error which i have mentioned below. Can anyone help me to solve this am i making any mistake here

  1. IP Print data from [192.168.19.53] is not PostScript. Header pk
  2. My printer has been added through CUPS but in my savapage proxy printers it is showing Configuration Needed.

@aric Yes, I had already realized that and created a section in the User Manual called DNS-SD Printers :slight_smile: Can you please review?

As a general rule, automatic print to public printers is not a good idea. It leads to paper waste (prints not picked up) or privacy breaches (prints laying around a long time for everyone to read). In those cases Secure Printing is the way to go: see Personal Print - Secure Scenarios.

There are, of course, exceptions when printers are secured in a physical private space (a print room) where print jobs are handled by a dedicated officer (print job operator). This case is covered by SavaPage through the Job Ticket Print scenario.

If you place a Network Card Reader (NFC authentication) next to a printer you can implement a Fast Print Mode follow-me printing scenario. If a network printer is placed besides and restricted to a workstation, automatic printing can be achieved with the IPP Routing scenario. Beware, these are advanced topics.

Welcome @Gowtham !

  1. This is a matter of picking the right PostScript driver. Take a look at Which PostScript driver to use in Windows? - #4 by rijkr
  2. See my reply How to solve unrecognized Proxy Printer capabilities - #5 by rijkr