Post by crojo » Fri Oct 26, 2012 1:02 pm

Image

UBER AUTO PRINT

Purpose:

Demo: http://youtu.be/EG1HTh1Ah9U

Purpose:

Gives you the ability to install you’re printer into OpenCart
Automatically prints new orders as soon as the customer presses the “Confirm Order” button.
No more checking emails for new orders.
Send your invoices to remote printers, computers, fax machines and save you're documents in the Google Cloud.

Features:
- Automatically Prints New Orders as they are received
- Save as PDF to Google Docs
- Print to a Remote Printer anywhere in the world
- Customize the Auto Print Invoice for just about any printer or size paper
- Time Stamps the Auto Invoice with current date and time of order.


* You will need a Google Doc's Account please sign up here === http://docs.google.com/ ===
* You will also need a Google Cloud Print Account more Information can be found here === http://www.google.com/cloudprint/learn ===
*VQMOD all new files and nothing is over written

=================INSTALLATION=================

First make sure you have VQmod installed can be obtained from here ===

http://code.google.com/p/vqmod/

Copy all files and folders from the upload folder to your OpenCart Root Directory

Sign up for your own Google Doc's Account and Google Print Account
http://docs.google.com/ http://www.google.com/cloudprint/learn

Install you’re printers into Google Cloud.
https://support.google.com/cloudprint/a ... 86197?rd=1

Go to Module and Install Uber Auto Print
Click Extensions then Uber Auto Print
Enter your Google Doc’s Use Name and Password
Press Save
Click Extensions then Uber Auto Print
Select you’re Printer that you wish to use, press Apply.
Then Click the Invoice Settings Tab and change the TimeZone to your Time Zone
Press Save
All new orders will now be printed as the come in and when you press print invoice, they will also be printed automatically.

If you require any assistance please email: help (at) opencartchoice (dot) com


Extension is available from here

http://www.opencart.com/index.php?route ... on_id=8907
Last edited by crojo on Mon Jan 28, 2013 12:52 pm, edited 4 times in total.

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by crojo » Sat Oct 27, 2012 3:44 am

Minor update, fixed page break issues when converting to pdf.

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by crojo » Fri Nov 09, 2012 10:57 am

Updated to 1.08

Fixed Minor Bug with Undefined Variable

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Fri Nov 09, 2012 11:01 am

After some odd error messages, I've got it working but does Google Chrome need to be both installed and open for Auto Print to work?

It would be good if you could edit the invoice templates then attach a specific template to a specific printer. My thinking is EPOS printers will need different layout to a standard A4 printer.

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Fri Nov 09, 2012 11:16 am

Google Chrome needs to be installed to install you're classic printer into Google Cloud, once you're printer is installed and working then you can close chrome but will need to leave it installed.

You can manually edit the invoice template via the invoice.css found in admin/view/stylesheet.

I don't currently have plans to implement different templates for different printers.

I found the error you reported earlier and have updated the extension to rectify that. Thanks for heads up.

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Fri Nov 09, 2012 11:37 am

crojo wrote:I found the error you reported earlier and have updated the extension to rectify that. Thanks for heads up.
Hahaha... I deleted that post because I thought it was me. It's been one of those days !!! :choke:

I take it to upgrade, I just upload the content of the 1.08 and overwrite the existing UBER AUTO PRINT files.

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Fri Nov 09, 2012 11:44 am

Yeah, just overwrite the files and you will be good to go. :)

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Fri Nov 09, 2012 12:12 pm

Would it be possible to set how many copies of each invoice can be printed? My client does deliveries (fast food takeaway) and needs one for his kitchen (which he then keeps) and one for the driver.

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Fri Nov 09, 2012 2:11 pm

It is not currently possible with the way the extension is setup.

I am out of the office until tomorrow I will investigate it further for you then and see if I can come up with a solution, shouldn't be too much of a problem

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by crojo » Sat Nov 10, 2012 6:41 am

@easistudio, I sent you an email with some updated code to be able to print the auto order twice, if you need anything else just let me know.

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Thu Nov 22, 2012 6:35 pm

I see you have updated this on the 20 November 2012 (2 days ago). Is it worth me updating my installation with the new files?

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by easistudio » Thu Nov 22, 2012 9:52 pm

If you switch printers, do you have to un-install then re-install this module again. I am finding I can't just change on the fly in Google Cloud Auto Print module. This is despite the both old and new printers bother showing in the Cloud Print settings in Google Chrome.

What I did notice was the word "fail" on the checkout/success page and I have attached a screenshot below.

The error log contains the below:
2012-11-22 13:48:52 - PHP Warning: include(controller/module/GooglePrint.php): failed to open stream: No such file or directory in /home/highsecurityprison/www/admin/controller/icache/files/printeradmin.php on line 26
2012-11-22 13:48:52 - PHP Warning: include(): Failed opening 'controller/module/GooglePrint.php' for inclusion (include_path='.:/usr/share/php') in /home/highsecurityprison/www/admin/controller/icache/files/printeradmin.php on line 26

Attachments

2012-11-22_134344.jpg

2012-11-22_134344.jpg (34.36 KiB) Viewed 9801 times


New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Fri Nov 23, 2012 3:57 am

@easistudio, I have fixed the two errors you pointed out in the log and screenshot, thanks for that.

As for switching printers on the fly, you should be able to do that inside the module, without any issues.

The way the module is designed is to install (all) your printers inside google cloud print then once you are ready then install the module and select the printer you want to use, if you want to use a different printer you enter the module and select a different printer and hit save.

I'm not sure what you are doing different that's not working, could you explain please ?

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Fri Nov 23, 2012 9:08 pm

I actually fixed it before you replied by uploading the contents of the 1.08 zip and that seemed to solve the problem. However I will download your updated version should I have a repeat of the problems above. Many thanks for your prompt assistance.

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by easistudio » Fri Nov 23, 2012 11:05 pm

Which template does your Auto Print extension use to generate these invoices?

Is it

Code: Select all

admin/view/template/sale/order_invoice.tpl
or

Code: Select all

catalog/view/theme/default/mail/order.tpl

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Sat Nov 24, 2012 5:47 am

It actually uses both.

For the auto print when a customer makes an order is will use this template.

Code: Select all

catalog/view/theme/default/mail/order.tpl
When you hit the print button from the admin panel it will use this one.

Code: Select all

admin/view/template/sale/order_invoice.tpl

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by easistudio » Sat Nov 24, 2012 6:45 am

Sorry I didn't explain myself too well. Which template is used for the document that is automatically printed on the printer attached to Google Cloud Print when a customer places an order?

New member

Posts

Joined
Tue Oct 30, 2012 9:59 pm

Post by crojo » Sat Nov 24, 2012 7:50 am

For the auto print when a customer makes an order is will use this template.

Code: Select all

catalog/view/theme/default/mail/order.tpl

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm

Post by Rainforest » Tue Dec 11, 2012 2:36 am

I'm not getting this to work.
Google cloud print is working. I tested it.
The extension is installed. I have the printer from my google account, yet nothing auto prints upon recieving an order.

It also DOES print when we hit "print invoice" which is ok, I guess but the whole point of the extension was order autoprint.

Thanks!!!

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by crojo » Tue Dec 11, 2012 3:36 am

Hi there,

It should be working no problems, I have sent you an email so I can have a look and help you further :)

User avatar
New member

Posts

Joined
Thu Sep 20, 2012 12:14 pm
Who is online

Users browsing this forum: No registered users and 297 guests