473,804 Members | 4,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printing over the Internet

61 New Member
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 1875
hsriat
1,654 Recognized Expert Top Contributor
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
samatair
61 New Member
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 Recognized Expert Top Contributor
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
3274
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 /printers/ipp_util.inc, line 74 An error occurred in the OnStartPage method of an external object. "
9
4120
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 PrintDialog control under a security setting with only SafePrinting allowed. I have attached a sample project that I am using to try to accomplish this. The print dialog appears, but when I press the Print button, I get an exception (at the end...
2
12492
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 question, I'm sorry. For an IE6 intranet application I'm running into some problems regarding printing screens from the browser. The specs dictate these requirements:
5
5381
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 forum which forum actualy similar to small article. Then user have to use PRINT button to print the page. My problem is that when I try to print it prints the HTML Name on top left as well as the page
0
1898
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) --------------------------------------------------------------------------------------------------------------------- <script language="JavaScript"> //Disable Mouse Right Click Button
4
6485
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. When they log to application (through web browser) and choose the print option, on the right margin few cm get cut off (so some fields do not print out). Is there any function that ensure that when user pritns he gets the
2
1623
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 Explorer, the panel is printed without the blue background but with the black border. The normal button is printed as seen on screen. What is the reason that the panel background color is not printed correctly?
0
890
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 permission to All. Unfortunately, this is not a valid solution. I need to get this working with the default Internet Zone permissions. Thanks, Jody
2
9274
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 restore the original header and footer Imports Microsoft.Win32 Private WithEvents myprocess As Process Private OldHeader As String
3
3764
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 print the current contents of the browser without bringing up the print dialog. At first I thought it was a simple matter to have the button's "onclick" attribute set to "window.print();". However, that always brings up the print dialog box. ...
0
10575
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10330
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10319
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10076
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9144
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3816
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.