|
|
|
@ -210,6 +210,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
twtext += html.unescape(rt["full_text"])
|
|
|
|
|
else:
|
|
|
|
|
twtext = html.unescape(tweet["full_text"])
|
|
|
|
|
twtext += "\n"
|
|
|
|
|
prn.block_text(twtext, font="0")
|
|
|
|
|
|
|
|
|
|
if "media" in tweet["entities"]:
|
|
|
|
@ -226,13 +227,13 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn.image(im, impl="bitImageColumn")
|
|
|
|
|
|
|
|
|
|
tw_shortcode = self.short_tweet_id(tweet["id_str"])
|
|
|
|
|
prn.text("retweet\r\n")
|
|
|
|
|
prn.text("Retweet\r\n")
|
|
|
|
|
#prn.barcode("PRtwrt." + tw_shortcode, "CODE128", function_type="B")
|
|
|
|
|
prn.soft_barcode("code128", "PRtwrt." + tw_shortcode, module_width=0.16)
|
|
|
|
|
prn.text("like\r\n")
|
|
|
|
|
prn.text("Like\r\n")
|
|
|
|
|
#prn.barcode("PRtwlk." + tw_shortcode, "CODE128", function_type="B")
|
|
|
|
|
prn.soft_barcode("code128", "PRtwlk." + tw_shortcode, module_width=0.16)
|
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
|
prn.text("Reply\r\n")
|
|
|
|
|
#prn.barcode("PRtwre." + tw_shortcode, "CODE128", function_type="B")
|
|
|
|
|
prn.soft_barcode("code128", "PRtwre." + tw_shortcode, module_width=0.16)
|
|
|
|
|
prn.ln(2)
|
|
|
|
|