Advertisement:

Author Topic: print the item  (Read 13729 times)

ferdgua

  • Full Member
  • ***
  • Posts: 158
print the item
« on: October 21, 2011, 01:21:37 pm »
is it possible? with pdf extension
 it is very useful because users can print the items with our logo and advertise their objects on the street and on notice boards.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: print the item
« Reply #1 on: October 21, 2011, 09:01:55 pm »
Hi ferdgua,


It's an interesting idea for a plugin, and it's very possible to make it. You have several options. Print the page as you see it on the browser of use a special CSS to show a more proper print setup.


Maybe I'll do a plugin out of this If I have some spare time.

Thanks!

ferdgua

  • Full Member
  • ***
  • Posts: 158
Re: print the item
« Reply #2 on: October 22, 2011, 04:22:30 pm »
I'm trying to do something, but with few results.
 there is a Italian classifieds site that has done this very well, can I report it?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: print the item
« Reply #3 on: October 26, 2011, 03:39:49 pm »
Yeah, post here the url of the site

ferdgua

  • Full Member
  • ***
  • Posts: 158
Re: print the item
« Reply #4 on: October 26, 2011, 08:47:23 pm »
The first is www.subito.it. If you do not understand the language find "stampa il volantino"
 But I noticed that olso the famous http://www.kijiji.it do it.

I found a software that converts php in pdf , but I can not create a page like that.
Same help.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: print the item
« Reply #5 on: October 27, 2011, 10:52:23 am »
If a new CSS file is loaded, it should not be difficult to do it, again, you can convert pdf on your website or print directly

ingo

  • Guest

ferdgua

  • Full Member
  • ***
  • Posts: 158
Re: print the item
« Reply #7 on: November 10, 2011, 03:35:11 pm »
exact
 But how can i make it?
I studied something
 I did some experiments
 but I am not able

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: print the item
« Reply #8 on: November 10, 2011, 06:33:20 pm »
it's easy if you use ob_start, ob_clean,... but as I said before, you need a especial CSS estilo. A good starting point is this plugin : https://github.com/osclass/osclass-plugins/tree/simplecache

SuperAtic

  • Full Member
  • ***
  • Posts: 196
Re: print the item
« Reply #9 on: December 27, 2011, 02:06:52 pm »
Hi guys,

We have solved this issue?

Thanks


_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: print the item
« Reply #10 on: December 27, 2011, 02:12:00 pm »
Hi SuperAtic,

I'm probably the worst person to forge a CSS style file, But if anyone could provide one. I will do this as a plugin, it's very easy.
As I said before, we only need a special CSS file to propertly display the item page in B/W and/or without buttons/contact form etc...


Thanks

SuperAtic

  • Full Member
  • ***
  • Posts: 196
Re: print the item
« Reply #11 on: December 27, 2011, 02:16:19 pm »
I'm a CSS maker!!!

 ;D

Tell me what you need!

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: print the item
« Reply #12 on: December 27, 2011, 08:25:54 pm »
Perhaps, for a start, you can design a html page showing how it would be the print page. Then we can code the PHP section :)

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: print the item
« Reply #13 on: December 27, 2011, 08:29:39 pm »
On a second thought I think it would be easier to do without any CSS, doing all the work on the pdf-engine.

I was confused by the "archive" / plain text version some sites offer to print directly from the browser.. After seeing the examples on this topic, I think OSClass needs a different approach, and it's better to do something like the examples. Ready to print, but also to "share" IRL, with de-attachable parts.

A nice feature would be if a QR code is included

SuperAtic

  • Full Member
  • ***
  • Posts: 196
Re: print the item
« Reply #14 on: December 27, 2011, 10:28:21 pm »
I make the HTML page...

 ;D