Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
andreym  
#1 Posted : Sunday, May 16, 2010 1:57:06 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

This is the new plugin to export Virtuemart orders to DPOF format. After customer uploads images with Photoorder component and creates order, it automatically export new order to DPOF format to automate printing on the lab.

Install the attached archive as joomla plugin from joomla admin. Enable the plugin and specify folder where to export orders. Do not forget to grant write permissions for the folder.

UserPostedImage

Channels

The channels list is stored in the plugins/photoorder/dpof/channels.xml file. The paper size and type defined for every channel. Different channels defined for every paper type and photo size combination.

That is all! Try to upload photos, create order and check orders folder. The orders folder should contain subfolder with the same name as order number and there is channel subfolders in the order number folder. The auto print file (AUTPRINT.MRK) is in the MISC folder.

UserPostedImage

Last update: 2010-06-04

------------------------------------------------------------------------------------------------

Download Photo Order Plugin for VirtueMart

------------------------------------------------------------------------------------------------

Edited by user Friday, August 6, 2010 3:21:51 PM(UTC)  | Reason: Not specified

andreym attached the following image(s):
settings.png
folder_structure.png
andreym  
#2 Posted : Sunday, May 16, 2010 2:04:06 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Original discussion about the DPOF module is here.

Edited by user Sunday, May 16, 2010 3:17:57 PM(UTC)  | Reason: Not specified

andreym  
#3 Posted : Monday, May 17, 2010 2:31:14 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

The zero channel (PRT PCH=000) means that there are not channel specified for particular paper and size combination.

As I understand every channel has its own paper size and paper type. Correct me if it isn't. So in the channels.xml we need to specify channel number and name for every paper type and size combination, which customer can select while ordering photo.

For example, while ordering photos, I specify "5x7" size and "Matt" paper for img01.jpg and "20x30" and "Glossy" for img02.jpg. Then there are two subfolders in the "order number" folder will be created:

293 - for "5x7 Matt" print channel,

298 - for "20x30 Glossy" print channel.

But, if we for example add new size 25x40 or new paper, and does not add print channels for them, then we don't know where to place ordered photos with such attributes and we just create zero subfolder in the order folder and place them there.

Quote:
About the selection of sizes.

I tried to set two sizes at the sime time, but only one size was written as a order.

There is no way to specify several sizes to one photo except to upload photo several times.

For example I need 5 photos with 5x7 size and 2 photo with 8x20 size. So I need to select photo, specify 5x7 size and 5 for the quantity and click Send to upload photo. After that I select this photo once again, specify 5x7 value for size and 2 for the quantity and click Send button again. After that, there are two items should appear in the shopping cart.

Nikon  
#4 Posted : Monday, May 17, 2010 6:20:34 PM(UTC)
Nikon

Rank: Advanced Member

Groups: Member
Joined: 5/1/2010(UTC)
Posts: 60

Thanks: 1 times
Hello!

I tried to load the new dpof module to my joomla installation. And everything works fine expect that the channels is still writing in zero. I am missing something very easy here?

As you describe i think its ok if the customer only can make one size at time on a picture.

Nikon  
#5 Posted : Monday, May 17, 2010 10:08:53 PM(UTC)
Nikon

Rank: Advanced Member

Groups: Member
Joined: 5/1/2010(UTC)
Posts: 60

Thanks: 1 times
Yea now it parses the print channel also. But when i try to write my sizes in my language it still make zero in the print channel section. Is there somewhere in the code i can change glossy and matt to my language?

My sizes lookes like this.

10x13 Blankt

10x15 Blankt

I write this in joomla and change the channels.xml

But then it wont parse the printer channel anymore.

Sorry it was my fault. I wrote Blankt with a big B instead of a small b in the channels.xml file.

So now its working again.

Is it possible to make the java application looks like this

http://demo.aurigma.com/.../PhotoOrder/default.aspx

Wondering what a licens would cost for this application?

Edited by user Tuesday, May 18, 2010 12:02:58 AM(UTC)  | Reason: Not specified

andreym  
#6 Posted : Tuesday, May 18, 2010 12:35:58 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Glad to know it works not only for me :)

Quote:
Is it possible to make the java application looks like this

http://demo.aurigma.com/.../PhotoOrder/default.aspx

Sure, the order page template is in the components/com_photoorder/views/photoorder/tmpl/default.php ( or components/com_photoorder/views/order/tmpl/default.php if you install it from photoorder2.zip archive ) file. You can change its layout the way you want.

If you want to make custom buttons, the article about customizing button is here.

Feel free to ask here if you face any troubles with customization.

Edited by user Tuesday, May 18, 2010 12:36:28 PM(UTC)  | Reason: Not specified

Dmitry  
#7 Posted : Sunday, May 23, 2010 8:50:21 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Quote:
Wondering what a licens would cost for this application?

Please, constact sales team at sales@aurigma.com for details on pricing.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Nikon  
#8 Posted : Tuesday, May 25, 2010 1:06:19 PM(UTC)
Nikon

Rank: Advanced Member

Groups: Member
Joined: 5/1/2010(UTC)
Posts: 60

Thanks: 1 times
Thanks again. The buttons are now in my language.

I have a strange problem with the dpof module. When i have uploaded files that is say about 1mb in size. The dpof module wont copy them to the IMAGES folder. Its working if i take a file that is about 100kb then the files is copied to the IMAGE folder.

Looked every where and cant find anything strange. Do you have any ideas?

What do you think about that the photoorder component are putting the images directly in their order folder and maybe then we not need to copie the files to a new folder? and then there is no risk for files to be overwritten if they have the same filename.

Also saw that i have the same problem with the imageuploader. I can only load small files but not larger files it never sends a order to the cart. But i think they are not related with each other. ( this is solved, it was the php.ini i reinstalled the php one time and forgett to change back the values

php_value upload_max_filesize 20M

php_value post_max_size 20M

php_value max_execution_time 200

php_value max_input_time 200

But i still have problem that the dpof order wont copy my pictures to the IMAGE folder. Only smal files.

Edited by user Wednesday, May 26, 2010 7:50:22 AM(UTC)  | Reason: Not specified

andreym  
#9 Posted : Thursday, May 27, 2010 2:53:41 AM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

Quote:
But i still have problem that the dpof order wont copy my pictures to the IMAGE folder. Only smal files.

Tried with 4MB files and it works for me, all files has been copied. Can you check if there are any error in the php log file? (Change log_errors to On in the php.ini if error reporting is disabled)

Nikon  
#10 Posted : Thursday, May 27, 2010 2:02:05 PM(UTC)
Nikon

Rank: Advanced Member

Groups: Member
Joined: 5/1/2010(UTC)
Posts: 60

Thanks: 1 times
Yea i finally found the problem. If the filename is with big letters the dpof module wont copy them to the IMAGE folder, but if i change the filename to small letters its working.

It seems that the dpof module is not reading the file name correctly.

------------------------------------------------------------------------------------------------------------------

2 Normal

Size: 10x13

Paper: Blankt

imagepath: DSC_1189.JPG

photo 1.95 SEK 3.90 SEK

2 Normal

Size: 10x13

Paper: Blankt

imagepath: DSC_1219.JPG

photo 1.95 SEK 3.90 SEK

---------------------------------------------------------------------------------------------------------------------

[JOB]

PRT PID = 5

PRT TYP = STD

PRT QTY = 2

IMG FMT = EXIF2 -J

<IMG SRC = "../IMAGES/dsc_1189.jpg">

[JOB]

PRT PID = 6

PRT TYP = STD

PRT QTY = 2

IMG FMT = EXIF2 -J

<IMG SRC = "../IMAGES/dsc_1219.jpg">

-------------------------------------------------------------------------------------------------------------------------

Can i fix this somehow?

Thanks again.

Edited by user Thursday, May 27, 2010 2:18:36 PM(UTC)  | Reason: Not specified

andreym  
#11 Posted : Friday, May 28, 2010 1:54:00 AM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello Nikon!

I've updated the first post and attached the newest version of plugin. It works with the latest PhotoOrder component, but unfortunately does not work with the the previous one.

The good news that it can automatically create auto print file when the order created. So there are no need Create DPOF button anymore. It also should work with the uppercase file names.

Edited by user Friday, May 28, 2010 3:06:30 AM(UTC)  | Reason: Not specified

taravasya  
#12 Posted : Sunday, July 18, 2010 9:21:45 PM(UTC)
taravasya

Rank: Member

Groups: Member
Joined: 4/8/2010(UTC)
Posts: 28

Thanks: 1 times
Hello! I can`t use dpof plugin.... :(

At the end of order i see this:

UserPostedImage

Can you help me?

This is my channels.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<channels>
	<channel number="290" name="10x15G">
		<size>10x15</size>
		<paper>Глянец</paper>
	</channel>
	<channel number="291" name="4x6 Matt">
		<size>4x6</size>..........

Edited by user Sunday, July 18, 2010 9:36:49 PM(UTC)  | Reason: Not specified

andreym  
#13 Posted : Monday, July 19, 2010 11:37:29 AM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

In the latest release of the Aurigma Photo Order we include DPOF support to the component core. So you don't need to install this separate plugin. Just enable it in the component settings (Components -> Aurigma Photo Order -> Preferences : Export Orders to DPOF)

However, I think the problem is that you specify Глянец with an upper-case Г in the channels.xml.

Also, I've noticed, that you may need to localize the component user interface to your language and in this case this thread can be helpful.

Edited by user Monday, July 19, 2010 12:32:16 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.