Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5948013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:02:47+00:00 2026-05-22T17:02:47+00:00

Through an intranet application I need to be able to print precisely formatted pages

  • 0

Through an “intranet” application I need to be able to print precisely formatted pages to a printer that will be installed on the “web server”.

For example, the user will access the application via their browser and when they complete a transaction a contract should print. The contract prints dynamic content on a pre-printed form (hence the precisely formatted requirement). This contract should print on a printer that is installed on a Windows Server 2008 machine, which is the same machine running the application.

I am using php as it is, so it would seem that it would be the best way to pull this off since both the printer and the php are running off the same box. Unfortunately, I haven’t had much luck finding a good lpr (or other) print package.

Additionally, I need to print labels in the same manner (to a Zebra TLP 2844-z). However, I am fairly sure that if I can print to a printer using LPR it won’t matter what type of printer it is.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:02:47+00:00Added an answer on May 22, 2026 at 5:02 pm

    Take a look at LPD, CUPS. Most likely you would need to convert your script output into PostScript then send it over to the printer.

    http://php.net/manual/en/book.ps.php

    If you can generate PDF (you can convert HTML into PDF)

    exec cat generated.pdf | acroread -toPostScript | lpr -P $printer

    Try also looking for help on serverfault.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a method for my intranet web application that will authenticate
I have a web application set up on our intranet that uses windows authentication
I have an intranet only server unable to connect the web even through a
I'd like to gather user data in a web-based intranet application similar to rapportive
I'm developing an ASP.NET application for an intranet site that is using Windows/NTLM/WIA/whatever authentication.
I have a windows forms application that is deployed to two different locations. Intranet
We have created a web application, using ASP.NET, that allows users to upload documents
I have a remote web server that I have full administrator access over, and
I need to provide support for various scanners and printers to an Intranet web
I uploaded my web application already in my Production Tomcat Web Server. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.