473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Printing over the Internet

I have a requirement of printing over the Internet using a web application
It's a shopping cart. Once the order is confirmed it should be printed out in
the company's warehouse.
I use PHP for server side scripting and MS SQL for database.
I think the web server must be Windows server.

Is this possible. If so anyone can help me in this.

Your efforts are greatly appreciated.

Thank you very much
Feb 20 '08 #1
3 1860
hsriat
1,654 Expert 1GB
I have a requirement of printing over the Internet using a web application
It's a shopping cart. Once the order is confirmed it should be printed out in
the company's warehouse.
I use PHP for server side scripting and MS SQL for database.
I think the web server must be Windows server.

Is this possible. If so anyone can help me in this.

Your efforts are greatly appreciated.

Thank you very much
ok, so when a customer gets confirmation for an order, the order is printed on the warehouse's printer, not the customer's...? is it?

I don't know if its possible to print it instantaneously, but its possible to print orders as soon as the warehouse's browser opens the received-orders-website.
On the ONLOAD event of the body call the javascript's print function and print all the orders which are received after the last printing was done.
And after the printing is done, turn off some PRINT_PENDING flag to ensure it doesn't get printed next time. AJAX may be required in this.
Feb 20 '08 #2
ok, so when a customer gets confirmation for an order, the order is printed on the warehouse's printer, not the customer's...? is it?

I don't know if its possible to print it instantaneously, but its possible to print orders as soon as the warehouse's browser opens the received-orders-website.
On the ONLOAD event of the body call the javascript's print function and print all the orders which are received after the last printing was done.
And after the printing is done, turn off some PRINT_PENDING flag to ensure it doesn't get printed next time. AJAX may be required in this.

Hi hsriat,

Thank you very much for your reply.
Yes, Indeed what you had understood is exactly Correct.
Yeah! am able to think of what solution you had offered.
But my client persists to do it when the order is confirmed.
I heard that Windows has an Internet Printing Protocol which can be
used to Print Over the Internet using the IP address of the Printer.
I think there should be a print server running for this.
But am not able to understand futher regarding this.

If any one knows whether it can possible their help would be greatly appreciated.

Once again Thanks Hsriat
Feb 22 '08 #3
hsriat
1,654 Expert 1GB
Hi hsriat,

Thank you very much for your reply.
Yes, Indeed what you had understood is exactly Correct.
Yeah! am able to think of what solution you had offered.
But my client persists to do it when the order is confirmed.
I heard that Windows has an Internet Printing Protocol which can be
used to Print Over the Internet using the IP address of the Printer.
I think there should be a print server running for this.
But am not able to understand futher regarding this.

If any one knows whether it can possible their help would be greatly appreciated.

Once again Thanks Hsriat
If there is something like printing protocol you talking about, that may hepl you. But I don't know about that.

If there is no way left, then use AJAX (in the same page I talked about above), and keep on sending request to the server (say) every 1 minute using JavaScript. Any updation will get printed then.

One more Idea: (Sorry if you'll find it stupid) If you want a more professional way, so that even the customer is happy, make an application (not web page) which can get the details of the updated confirmation after given time interval over the http and print it automatically. Configure that application on the startup of the OS so that there's no need to start application manually.
Feb 22 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: alb120 | last post by:
I implementing Internet Printing; but it fails: http://w23ksv/printers/ gives error on EI Version 6.0.2800.1106 (XP) "Server object error 'ASP 0193 : 80020009' OnStartPage Failed...
9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
2
by: gerb | last post by:
Hello, I realise this is not a pure Javascript question, and that VBscript is probably involved at some point, though not as much as I fear. If you opened this item looking for a pute Javascript...
5
by: Niyazi | last post by:
Hi, I have an html page and I might be moving to asp.net page that contains a some kind of forum and string. It is kind of application form. User have to enter some (string) value into the...
0
by: Niyazi | last post by:
Hi all, This my aspx page first line of code. <%@ Page CodeBehind="index.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="TB.index" %> Than inside head tag I have following script(s)...
4
by: Suzanka | last post by:
Hello, I have an application written in C# on visual studio .NET. It is a web aplication. The application consists of many different forms, that users occassionaly want to print out for filing....
2
by: Steffen Loringer | last post by:
Hi group, I like to print my ASP.NET page with the internet explorer. I added a panel (with a black border and blue as background) and a button to my page. If I press print in the Internet...
0
by: jgelowitz | last post by:
Has anybody been able to get Safe Printing over the Internet Zone using the default permissions? I have tried a few methods, but was not able to get it working unless I set the Printing...
2
by: LilBuh | last post by:
hi there :) i ve been looking for some time a way to print an html file from vb.net i came up with this code for printing and removing the header and footer from IE then once the printing is done...
3
by: John Peterson | last post by:
Hello all! I'm at my wits end trying to search for what I assumed to be a relatively straightforward task. I have a Web application written in C#, and I have a button on the form that I want to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.